package com.intelligence.tio.common;

import org.tio.core.intf.Packet;

/**
 * 
 * @author tanyaowu 
 *
 */
public class JsonPacket extends Packet
{
	public static final String CHARSET = "utf-8";

	public static final int HEADER_LENGHT = 4;
	
	/**
	 * 消息类型，其值在com.intelligence.tio.common.Command中定义
	 */
	private int commond;


	private byte[] body;

	public byte[] getBody()
	{
		return body;
	}

	public void setBody(byte[] body)
	{
		this.body = body;
	}

	public int getCommond() {
		return commond;
	}

	public void setCommond(int commond) {
		this.commond = commond;
	}

	

}
